class Car:
    def __init__(self, carType, carNo):
        self.carType = carType
        self.carNo = carNo

    def start(self):
        print(self.carType, self.carNo, "开启")

    def stop(self):
        print(self.carType, self.carNo, "关闭")


class TaxiCar(Car):
    def __init__(self, carType, carNo, compony):
        super().__init__(carType, carNo)
        self.compony = compony

    def start(self):
        super().start()
        print(f"出租车开启，欢迎乘坐 {self.compony}公司的汽车")

    def stop(self):
        super().stop()
        print(f"欢迎下次乘坐{self.compony}的汽车")


class PrivateCar(Car):
    def __init__(self, carType, carNo, personName):
        super().__init__(carType, carNo)
        self.personName = personName

    def start(self):
        super().start()
        print(f"我{self.personName}的爱车启动，呵呵")

    def stop(self):
        super().stop()
        print(f"我{self.personName}的爱车该休息了")


taxiCar = TaxiCar("吉利", "豫A123456", "郑州出租公司")
taxiCar.start()
taxiCar.stop()
privateCar = PrivateCar("比亚迪", "豫A456789", "张三")
privateCar.start()
privateCar.stop()
